{{--开关组件 --}}
{{--<div class="layui-inline">--}}
{{--    <label class="layui-form-label">{{ $label??'开关' }}</label>--}}
{{--    <div class="layui-input-inline" style="" style="border: 1px solid #e6e6e6;max-height: 100px;overflow:auto">--}}
{{--        <input type="checkbox" name="{{ $name??'checkbox' }}" lay-skin="switch" @if($readonly??false) readonly @endif  lay-text="{{ $text??'ON|OFF' }}" @if($checked??false) checked @endif>--}}
{{--    </div>--}}
{{--</div>--}}

{{--开关组件--}}
<div class="{{$class??'layui-col-md12'}}">
    <div class="layui-row layui-col-space10 layui-form-item">
        <div class="layui-form-item">
            <label class="layui-form-label">@if($must??true)<span style="color:red">*</span>@endif{{ $label??'标签' }}：</label>
            <div class="layui-input-block" style="border: 1px solid #e6e6e6;max-height: 100px;overflow:auto">
                <input type="checkbox" name="{{ $name??'checkbox' }}" value="1" lay-skin="switch" @if($readonly??false) readonly @endif  lay-text="{{ $text??'ON|OFF' }}" @if($checked??false) checked @endif>
            </div>
        </div>
    </div>
</div>